Searching for habits and goals